Skip to main content

All Questions

Tagged with
5votes
1answer
526views

Expand every bit into a byte

I have the following code: ...
Johan's user avatar
12votes
1answer
16kviews

Human-like mouse movement

The code will move the mouse from a start point (xs, ys) to finish point (xe, ye) like a human would. I'd like some help possibly shortening the code (by optimizing it) and making it more readable. ...
Owen's user avatar
  • 1,494
9votes
1answer
236views

Auto-click the sequence

The following Pascal script needs a bit of context for its purpose to be understood. For those who don't give about purpose, feel free to skip ahead. Background A game I'm terribly fond of has a ...
Mast's user avatar
  • 13.7k
3votes
1answer
221views

Yellow Pages Search

I've written code in Free Pascal based on a contest problem (The contest insists that I have to write with Pascal). It works like charm, but I think it still need some improvements, from memory usage ...
possibility0's user avatar
8votes
1answer
556views

Enhancing speed of looping cycle using Freepascal

I use Lazarus 1.2.4 and Freepascal 2.6.4. I have created a program that reads a disk in buffers of 64Kb (tried various buffer sizes) using a repeat...until loop. Each buffer is hashed using the SHA1 ...
Gizmo_the_Great's user avatar
7votes
1answer
321views

Eight Directions Crossword

I solved a problem which you can read about here, but it gives me "time limit exceeded" even though it runs in 4 seconds. I really don't understand why. I don't think my code can be any simpler, ...
user40582's user avatar
3votes
1answer
634views

Painting Tom Sawyer's Fence - programming on Free Pascal

Tom Sawyer has many friends who paints his fence. Each friend painted contiguous part of the fence. Some planks could stay unpainted, some could be painted several times. Program must output the ...
Tanya Serdyukova's user avatar

close